package ee.serge.util;

import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.SimplePanel;


public class Loader {

   private static SimplePanel popup;
   
   static {
      popup = new SimplePanel();
      popup.setStyleName("loader");
   }
   
   public static void show() {
      RootPanel.get().add(popup);
   }
   
   public static void hide() {
      RootPanel.get().remove(popup);
   }
   
}
